package com.badlogicgames.framwork;



/*public class SpritePool extends GenericPool<SpritePool> {  

	  private TextureRegion mTextureRegion;  

	  public SpritePool(TextureRegion pTextureRegion) {  

	   if (pTextureRegion == null) {  

	    // Need to be able to create a Sprite so the Pool needs to have a TextureRegion  

	    throw new IllegalArgumentException("The texture region must not be NULL");  

	   }  

	   mTextureRegion = pTextureRegion;  

	  }  /*

	  /**  

	  * Called when a Sprite is required but there isn't one in the pool  

	  */ 

	/*  @Override 

	  protected SpritePool onAllocatePoolItem() {  

	   return new SpritePool(mTextureRegion);  

	  }  */
	    
	  /**  

	   * Called when a Sprite is sent to the pool  

	  */ 
/*
	  protected void onHandleRecycleItem(final AnimatedSprite pSprite) {  

		  pSprite.setIgnoreUpdate(true);

		  pSprite.setVisible(false);  

	  }  */
  

	  /**  

	   * Called just before a Sprite is returned to the caller, this is where you write your initialize code  

	   * i.e. set location, rotation, etc.  

	  */ 
	/*  protected void onHandleObtainItem(final AnimatedSprite pSprite) {  

		  pSprite.reset();  

	  }  

	 } 
*/